//
//  ShowTableViewCell.swift
//  TwitterSearchDemo
//
//  Created by lanou on 16/1/9.
//  Copyright © 2016年 lanou. All rights reserved.
//

import UIKit

class ShowTableViewCell: UITableViewCell {
    
    var nameLabel: UILabel?
    var articleLabel: UILabel?
    var iconView: UIImageView?
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.articleLabel = UILabel(frame: CGRect(x: 0, y: 80, width: kWidth, height: 200))
        self.articleLabel?.numberOfLines = 0
        self.contentView.addSubview(articleLabel!)
        self.nameLabel = UILabel(frame: CGRect(x: 80, y: 20, width: 200, height: 30))
        self.contentView.addSubview(nameLabel!)
        self.iconView = UIImageView(frame: CGRect(x: 20, y: 20, width: 50, height: 50))
        self.contentView.addSubview(self.iconView!)


    }
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
